package com.dragon.dragonshop.pojo;

import java.util.Date;

public class User extends UserKey {
    private String password;

    private Date creatDate;

    private String phone;

    private String email;

    private String qq;

    public User(Integer uid, String userName, String password, Date creatDate, String phone, String email, String qq) {
        super(uid, userName);
        this.password = password;
        this.creatDate = creatDate;
        this.phone = phone;
        this.email = email;
        this.qq = qq;
    }

    public User() {
        super();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }
}